package com.carkeeper.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "tb_component")
public class Component implements Serializable {
    private Long id;

    private String code;

    @Column(name = "business_code")
    private String businessCode;

    @Column(name = "business_name")
    private String businessName;


    @Column(name = "type_1")
    private Integer type1;

    @Column(name = "type_2")
    private Integer type2;

    @Column(name = "type_name")
    private String typeName;

    private String brand;

    private String specification;

    private Integer price;

    private String supplier;

    private String factoryName;

    private String alias;

    @Column(name = "create_time")
    private String createTime;

    @Column(name = "update_time")
    private String updateTime;

    private Integer state;

    private Integer delete;
}
